const Router = require('koa-router');
const { verifyToken } = require('../controller/login.controller');
const { getWorkTypeList } = require('../controller/workType.controller');

const workTypeRouter = new Router({ prefix: '/maintainers' });

// 获取工作类型数据
workTypeRouter.get('/workType', verifyToken, getWorkTypeList);

module.exports = workTypeRouter;